import DialogBase from "../../../common/cmpt/base/DialogBase";

const { ccclass, property } = cc._decorator;

export interface comicData {
    name: string,            //图片名称
    zIndex: number,          //节点层级
    fixY: number,            //高度修正
    wait?: number,           //等待时间
}

@ccclass
export default class DlgComicPage extends DialogBase {
    public static pUrl: string = 'LyDialog/DlgComicPage'
    @property(cc.ScrollView)
    scroll: cc.ScrollView = null
    @property(cc.Sprite)
    bar_sprite:cc.Sprite=null

    check_next: boolean = false     // 监听
    check_time: number = 0          // 计数
    count_time: number = 0          // 监听时间
    only_read: boolean = false      // 只是查看漫画
    page_index:number =0            //当前的页面index
    // onLoad () {}

    start() {

    }

    // update (dt) {}

    init(){
        this.page_index = 0
    }
}
